package com.lixin.model.enums;

import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Description:
 * Copyright:   Copyright (c)2023
 * Company:     sci
 *
 * @author: 张李鑫
 * @version: 1.0
 * Create at:   2023-07-29 02:12:49
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2023-07-29     张李鑫                     1.0         1.0 Version
 */
public enum Event {
    LOGIN("system/login"),
    REFRESH_TOKEN("system/refreshToken");


    public static HashSet<String> toSet() {
        HashSet<String> set = new HashSet<>();
        for (Event event : Event.values()) {
            set.add(event.description);
        }
        return set;
    }


    private String description;

    private Event(String description) {
        this.description = description;
    }


    public String getDescription() {
        return description;
    }

}
